// .vuepress/enhanceApp.js
import Vue from 'vue'
import Button from '../../src/components/button copy'
import Icon from '../../src/components/icon'
// import ButtonGroup from '../../src/components/button-group'
import Input from '../../src/components/input copy'
import Row from '../../src/components/row'
import Col from '../../src/components/col'
import Layout from '../../src/components/layout'
import Header from '../../src/components/header'
import Sider from '../../src/components/sider'
import Content from '../../src/components/content'
import Footer from '../../src/components/footer'
import Toast from '../../src/components/toast'
import Dialog from '../../src/components/dialog'

import plugin from '../../src/components/plugin.js'

import Tabs from '../../src/components/tabs'
import TabsItem from '../../src/components/tabs-item'
import TabsBody from '../../src/components/tabs-body'
import TabsHeader from '../../src/components/tabs-header'
import TabsPane from '../../src/components/tabs-pane'
import Popover from '../../src/components/popover'
import Collapse from '../../src/components/collapse'
import CollapseItem from '../../src/components/collapse-item'
import Switch from '../../src/components/switch'
import Radio from '../../src/components/radio'
import RadioGroup from '../../src/components/radio-group'
import Checkbox from '../../src/components/checkbox'
import CheckboxGroup from '../../src/components/checkbox-group'
import Form from '../../src/components/form'
import FormItem from '../../src/components/form-item'

import '../../src/assets/fonts/font.scss'

Vue.component('sy-button', Button)
Vue.component('sy-icon', Icon)
// Vue.component('sy-button-group', ButtonGroup)
Vue.component('sy-input', Input)
Vue.component('sy-row', Row)
Vue.component('sy-col', Col)
Vue.component('sy-layout', Layout)
Vue.component('sy-header', Header)
Vue.component('sy-sider', Sider)
Vue.component('sy-content', Content)
Vue.component('sy-footer', Footer)
Vue.component('sy-toast', Toast)
Vue.component('sy-tabs', Tabs)
Vue.component('sy-tabs-head', TabsHeader)
Vue.component('sy-tabs-body', TabsBody)
Vue.component('sy-tabs-pane', TabsPane)
Vue.component('sy-tabs-item', TabsItem)
Vue.component('sy-popover', Popover)
Vue.component('sy-collapse', Collapse)
Vue.component('sy-collapse-item', CollapseItem)
Vue.component('sy-dialog', Dialog)
Vue.component('sy-switch', Switch)
Vue.component('sy-radio', Radio)
Vue.component('sy-radio-group', RadioGroup)
Vue.component('sy-checkbox', Checkbox)
Vue.component('sy-checkbox-group', CheckboxGroup)
Vue.component('sy-form', Form)
Vue.component('sy-form-item', FormItem)

Vue.use(plugin)

Vue.config.productionTip = false
